package com.twetec.cms.model.vo.website;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.RequestParam;

import java.io.Serializable;
import java.util.List;

@ApiModel
public class ReferenceColumnVO implements Serializable {

    /**
     * 当前栏目id
     */
    @ApiModelProperty(value = "当前栏目id", example = "112345675646")
    private Long columnId;

    /**
     * 被选中(引用)的栏目ids
     */
    @ApiModelProperty(value = "被选中(引用)的栏目ids", example = "123,456")
    private List selectedColumnIds;

    /**
     * 引用后的文章状态
     */
    @ApiModelProperty(value = "引用后的文章状态CAO_GAO(草稿)YI_FA_BU(已发布)YUAN_ZHUANG_TAI(原状态)", example = "CAO_GAO")
    private String referenceArticleStatus;

    public Long getColumnId() {
        return columnId;
    }

    public void setColumnId(Long columnId) {
        this.columnId = columnId;
    }

    public List getSelectedColumnIds() {
        return selectedColumnIds;
    }

    public void setSelectedColumnIds(List selectedColumnIds) {
        this.selectedColumnIds = selectedColumnIds;
    }

    public String getReferenceArticleStatus() {
        return referenceArticleStatus;
    }

    public void setReferenceArticleStatus(String referenceArticleStatus) {
        this.referenceArticleStatus = referenceArticleStatus;
    }

    @Override
    public String toString() {
        return "ReferenceColumnVO{" +
                "columnId=" + columnId +
                ", selectedColumnIds='" + selectedColumnIds + '\'' +
                ", referenceArticleStatus='" + referenceArticleStatus + '\'' +
                '}';
    }
}
